package com.ych.modules.base.dbEntity;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * Created with IntelliJ IDEA.
 * Author: Usopp.tsui
 * Date: 2021/3/8
 * Time: 16:47
 * Description:
 */
@Data
@TableName("t_job_step")
@ApiModel(value = "TJobStepEntity", description = "数据库-任务步骤表")
public class TJobStepEntity implements Serializable {
    @TableId(value = "id")
    @ApiModelProperty(value = "主键", dataType = "String", notes = "主键")
    private String id;

    @TableField("job_id")
    @ApiModelProperty(value = "任务主键", dataType = "String", notes = "任务主键")
    private String jobId;

    @TableField("desc")
    @ApiModelProperty(value = "描述", dataType = "String", notes = "描述")
    private String desc;

    @TableField("img_url")
    @ApiModelProperty(value = "图片地址", dataType = "String", notes = "图片地址")
    private String imgUrl;

    @TableField("step_num")
    @ApiModelProperty(value = "步骤数，第几步", dataType = "String", notes = "步骤数，第几步")
    private Integer stepNum;

    @TableField("status")
    @ApiModelProperty(value = "状态 0：可用 1：禁用", dataType = "String", notes = "状态 0：可用 1：禁用")
    private String status;
}
